import request from '@/utils/request'

export function getCourierList(query, companyId) {
  return request({
    url: 'courier/list',
    method: 'post',
    params: {
      pageSize: query.pageSize,// 将参数添加到请求中
      pageNum: query.pageNum, // 将参数添加到请求中
      companyId: companyId
    }
  })
}

export function getCourierCompanyList() {
  return request({
    url: 'courier/company/list',
    method: 'get',
  })
}


export function getCourierNumber(companyId) {
  return request({
    url: 'courier/company/number',
    method: 'get',
    params: {
      companyId: companyId
    }
  })
}


